package com.tentative.competition.common.model.schedule.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tentative.competition.common.enums.ExamineEnum;
import com.tentative.competition.common.enums.ExamineTypeEnum;
import com.tentative.competition.common.enums.OperateTypeEnum;
import com.tentative.competition.common.enums.WorksStatusEnum;
import com.tentative.competition.common.model.schedule.vo.FileVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @auther: Smile Huang
 * @date: 2023/6/24 16:37
 * @desc:
 * @version: 2.0
 */
@Data
public class ScheduleExamineResp {

    private Long id;

    @ApiModelProperty("用户ID")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("审核类型")
    private ExamineTypeEnum examineType;

    @ApiModelProperty("审核状态")
    private ExamineEnum examineStatus;

    @ApiModelProperty("审核状态")
    private String examineStatusVal;

    @ApiModelProperty("提交审核时间")
    private Date submitTime;

    @ApiModelProperty("审核处理时间")
    private Date examineTime;

    @ApiModelProperty("团队名字/作品提交人名称")
    private String userName;

    @ApiModelProperty("学校名称/作品名称")
    private String name;
    private String email;
    private String phonenumber;

    public String getExamineStatusVal() {
        return this.examineStatus.getName();
    }
}
